﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
using DefenseQuestion.Domain;

namespace DefenseQuestion
{  /// <summary>
   /// 题库表
   /// </summary>
    [Table("Question")]
    public class Question : Audit
    {
        /// <summary>
        /// 题目Id
        /// </summary>
        [Key]
        public int QuestionId { get; set; }
        /// <summary>
        /// 技术分类Id
        /// </summary>
        public int TechTypeId { get; set; }
        /// <summary>
        ///问题题干
        /// </summary>
        public string QuestionName { get; set; }
        /// <summary>        
        ///是否必答
        /// </summary>
        public bool IsRequire { get; set; }
    }
}